<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <#--<p>${Session.user.name?if_exists}</p>-->
                <p>用户</p>
                <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
            </div>
        </div>
        <!-- search form -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="查询...">
                <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
            </div>
        </form>
        <ul class="sidebar-menu">
            <li class="header">主导航</li>
            <li class="<#if menuFlag == 'dashboard'>active</#if> treeview">
                <a href="dashboard">
                    <i class="fa fa-dashboard"></i> <span>Dashboard </span>
                    <span class="pull-right-container">
                        <span class="label label-primary pull-right"></span></span>
                </a>
            </li>
            <li class="treeview <#if menuFlag == 'bank' ||menuFlag == 'creditcardtype' ||menuFlag == 'creditcard' || menuFlag == 'creditcardbill' || menuFlag == 'crditcardpayrecord'>active</#if>">
                <a href="#">
                    <i class="fa fa-tasks"></i>
                    <span>信用卡管理中心</span>
                    <span class="pull-right-container">
                    <span class="fa fa-angle-left pull-right"></span>
                    </span>
                </a>
                <ul class="treeview-menu">
                    <li <#if menuFlag == 'bank'>class="active"</#if>><a href="bank"><i class="fa fa-black-tie"></i>银行列表</a></li>
                    <li <#if menuFlag == 'creditcardtype'>class="active"</#if>><a href="creditcardtype"><i class="fa fa-black-tie"></i>信用卡卡种列表</a></li>
                    <li <#if menuFlag == 'creditcard'>class="active"</#if>><a href="creditcard"><i class="fa fa-black-tie"></i>信用卡信息列表</a></li>
                    <li <#if menuFlag == 'credcardbill'>class="active"</#if>><a href="creditcardbill"><i class="fa fa-black-tie"></i>信用卡账单列表</a></li>
                    <li <#if menuFlag == 'creditcardpayrecord'>class="active"</#if>><a href="creditcardpayrecord"><i class="fa fa-black-tie"></i>信用卡消费记录</a></li>
                </ul>
            </li>
            <li class="treeview <#if menuFlag == 'fundinfo' ||menuFlag == 'fundmarket'>active</#if>">
                <a href="#">
                    <i class="fa fa-tasks"></i>
                    <span>基金精选</span>
                    <span class="pull-right-container">
                    <span class="fa fa-angle-left pull-right"></span>
                    </span>
                </a>
                <ul class="treeview-menu">
                    <li <#if menuFlag == 'fundmarket'>class="active"</#if>><a href="fundmarket"><i class="fa fa-black-tie"></i>基金行情</a></li>
                    <li <#if menuFlag == 'fundinfo'>class="active"</#if>><a href="fundinfo"><i class="fa fa-black-tie"></i>基金池</a></li>
                </ul>
            </li>
        </ul>
    </section>
</aside>
<script>
    function openUrl(url) {
        window.open(url)
    }
</script>